package com.jdd.modules.parkmonthly.mapper;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.jdd.modules.parkmonthly.entity.MonthlyCardInfo;
import com.jdd.modules.sdkidentifyresultpushlog.entity.vo.MonthlyCardAndPackageVo;

import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description: 月卡信息表
 * @Author: jdd
 * @Date:   2021-11-09
 * @Version: V1.0
 */
public interface MonthlyCardInfoMapper extends BaseMapper<MonthlyCardInfo> {

    List<String> getIds(@Param(Constants.WRAPPER)QueryWrapper<MonthlyCardInfo> queryWrapper);
    
    /** 根据月卡ID查询月卡信息和套餐信息 */
	List<MonthlyCardAndPackageVo> selectCardInfoAndPackageInfo(@Param("cardId") String cardId);
}
